package com.portal.back.service;

import java.util.List;

import com.portal.domain.SysCustom;

/**
 * @Title:客户service接口
 * @Copyright: Copyright (c) 0.1
 * @author:鲁根成
 * @version: 1.0
 * @time: 2011-4-7
 * 
 */
public interface ISysCustomService {
	/**
	 * 添加客户
	 * 
	 * @param custom
	 * @return
	 */
	public boolean savecustom(SysCustom custom);

	/**
	 * 查询所有客户
	 * 
	 * @return
	 */
	public List<SysCustom> getAllCustom();

	/**
	 * 删除客户信息
	 * 
	 * @param idString
	 * @return
	 */
	public boolean deleteById(String idString);

	/**
	 * 得到某个客户
	 * 
	 * @param id
	 * @return
	 */
	public SysCustom getById(String id);

	/**
	 * 获取案例或客户 分页方式
	 * 
	 * @param start
	 * @param limit
	 * @param code
	 * @return
	 */
	public List<SysCustom> find(int start, int limit, String code);
}
